<script setup>
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
const { proxy } = getCurrentInstance();
const useUserStoreHandler = proxy.$store.user.useUserStore();
onLaunch(() => {
    useUserStoreHandler.getLoginUserInfo();
});
onShow(() => {
    // #ifndef MP-WEIXIN
    uni.hideTabBar(); // 隐藏原生tabBar
    // #endif
});
onHide(() => {
    console.log("App Hide");
});
</script>

<style lang="scss">
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-plus/index.scss";

page {
    height: 100%;
    // overflow: hidden;
}
</style>